package com.cgws.fintech.inner.business.customer.swagger.handler;

import com.example.victory.swagger.model.ApiRequestClickLike;
import com.example.victory.swagger.model.ApiRequestWinnersList;
import com.example.victory.swagger.model.ApiResponseNull;
import com.example.victory.swagger.model.ApiResponseQueryCondition;
import com.example.victory.swagger.model.ApiResponseWinnersList;
import io.swagger.annotations.*;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;

import javax.validation.Valid;

@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2021-04-26T10:50:39.083+08:00")

@Controller
public class WinnersListApiController implements WinnersListApi {

    private final WinnersListApiDelegate delegate;

    @org.springframework.beans.factory.annotation.Autowired
    public WinnersListApiController(WinnersListApiDelegate delegate) {
        this.delegate = delegate;
    }
    public ResponseEntity<ApiResponseNull> clickLike(@ApiParam(value = "龙虎榜点赞请求信息" ,required=true )  @Valid @RequestBody ApiRequestClickLike param) {
        return delegate.clickLike(param);
    }

    public ResponseEntity<ApiResponseQueryCondition> getQueryCondition() {
        return delegate.getQueryCondition();
    }

    public ResponseEntity<ApiResponseWinnersList> getWinnersList(@ApiParam(value = "龙虎榜请求信息" ,required=true )  @Valid @RequestBody ApiRequestWinnersList param) {
        return delegate.getWinnersList(param);
    }

}
